﻿using BootstrapAdmin.DataAccess.Models;

namespace BootstrapAdmin.Web.Core.Services.Production;

public interface ICardInfoService
{
    bool Exist(string cardNo);

    Task<List<CardInfo>> GetAllAsync();

    Task<(List<CardInfo> items, int count)> GetPagedAsync(CardInfo filter, int pageIndex, int pageItems);

    Task AddCardInfoAsync(CardInfo model);

    Task UpdateCardInfoAsync(CardInfo model);
}
